import 'package:flutter/cupertino.dart';

class TargetAdapter {
  String conCreate() {
    return "targetAdapter";
  }

}

class ClassAdapter extends TargetAdapter {
  String operate() {
    return super.conCreate();
  }
}

main() {
  CustomScrollView(
    slivers: [
      ///SliverToBoxAdapter就是类适配器
      SliverToBoxAdapter(
        child: Container(),
      ),
    ],
  );
}